package com.yiwei.zxp.api.model;

import com.yiwei.zxp.api.bean.ResponModel;

import java.util.List;

/**
 * Created by xsooy-pc on 18-5-31.
 */

public class ShopIndexModel extends ResponModel {

    /**
     * datas : {"image_host":"http://img3.dianhuohuo.shop/","banner":[{"id":19,"image_url":"images/1caebc3081f11fbdf0079e3d46e3f711.jpg","link":"www.baidu.com"},{"id":1,"image_url":"images/4857bd12b774b204ca06eaabad5d8701.jpg","link":"www.apple.com"}],"cats":[{"id":27,"catname":"电脑办公"}]}
     */

    public DatasBean datas;

    public static class DatasBean {
        /**
         * image_host : http://img3.dianhuohuo.shop/
         * banner : [{"id":19,"image_url":"images/1caebc3081f11fbdf0079e3d46e3f711.jpg","link":"www.baidu.com"},{"id":1,"image_url":"images/4857bd12b774b204ca06eaabad5d8701.jpg","link":"www.apple.com"}]
         * cats : [{"id":27,"catname":"电脑办公"}]
         */

        public String image_host;
        public List<BannerBean> banner;
        public List<CatsBean> cats;

        public static class BannerBean {
            /**
             * id : 19
             * image_url : images/1caebc3081f11fbdf0079e3d46e3f711.jpg
             * link : www.baidu.com
             */

            public int id;
            public String image_url;
            public String link;
        }

        public static class CatsBean {
            /**
             * id : 27
             * catname : 电脑办公
             */

            public String id;
            public String catname;
        }
    }
}
